import java.util.Comparator;

class IdSort extends Employee implements Comparator<Employee>{
	@Override 
	public int compare(Employee obj1){
	int comparId = ((Fruit)obj1).getId();
	return this.id-compareId;

	}

} 

